/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gray.fx;

import gray.Factory;
import gray.Field;
import gray.Frame;
import java.math.BigDecimal;
import java.util.Date;
import javafx.scene.Node;
import javafx.stage.Stage;
import util.observer.Trigger;


/**
 *
 * @author martin
 */
public class FactoryFX implements Factory<Node>{
  private final Stage _stage;
  
  private FactoryFX(final Stage stage){
    _stage=stage;
  }
  
  @Override
  public void swap(Frame<Node> f) {
//    _stage.setScene(f.container());
//    _stage.show();
  }

  @Override
  public Frame<Node> button(Trigger observer, String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> buttonWithMsg(Trigger observer, String name, Character key, Object msg) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> buttonValid(Trigger observer, String name, Character key, Frame<Node> valid) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> buttonValidWithMsg(Trigger observer, String name, Character key, Object msg, Frame<Node> valid) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> elemTitle(String txt) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> elemBigText(String txt) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> elemDate(Date date) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> elemMoney(BigDecimal num) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> elemText(String txt) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> elemTime(Date hour) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> elemString(String num) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> elemPercentage(BigDecimal num) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> frameBottom(Frame<Node> _bottom, Frame<Node> _rest) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> frameTop(Frame<Node> _top, Frame<Node> _rest) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> frameLeft(Frame<Node> _left, Frame<Node> _rest) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> frameRight(Frame<Node> _right, Frame<Node> _rest) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> frameList(Frame<Node>... lst) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> frameSplit(Frame<Node> left, Frame<Node> right) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Frame<Node> frameRaw(Frame<Node>... lst) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldBigText(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<Boolean, Node> fieldCheckBox(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldComboBox(String name, String[] lst, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<Date, Node> fieldDate(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<BigDecimal, Node> fieldMoney(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public <E extends Enum<E>> Field<Enum<E>, Node> fieldRadio(String title, Class<E> enumData, Character[] key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldText(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<Date, Node> fieldTime(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<BigDecimal, Node> fieldPercentage(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<Integer, Node> fieldInteger(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldName(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldAdresse(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldCP(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldTelephone(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldUrl(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldEmail(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<Date, Node> fieldDateRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<BigDecimal, Node> fieldMoneyRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldTextRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<Date, Node> fieldTimeRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<BigDecimal, Node> fieldPercentageRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<Integer, Node> fieldIntegerRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldNameRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldAdresseRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldCPRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldTelephoneRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldUrlRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }

  @Override
  public Field<String, Node> fieldEmailRequired(String name, Character key) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
  }
}
